import http from '@/http/request'
import type { Result, Channel } from '@/http/type'

// 请求列表
export function fetchChannelList() {
  return http.request<Result<Channel>>({
    url: '/channel/list',
  })
}
